﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using System.IO;

using Infrastructure.Utility;
using SMG.Monitor.Domain.Models;
using SMG.Monitor.Domain.Services;
using SMG.ServiceContract.System;
using SMG.ServiceContract.Migration;
using Infrastructure.Core.IOC;

using Infrastructure.Dispatcher;


namespace Monitor.ConsoleApp
{
    class Program
    {
        static void Main(string[] args)
        {
            //String str = File.ReadAllText(@"E:\项目\SMG\文档最新\新建文件夹 (2)\XML\新建文本文档.txt");

            //IDispatcher firstmonitor = new FirstTaskDispatcher();
            //firstmonitor.Start();

            IDispatcher secondMonitor = new SecondTaskDispatcher();
            secondMonitor.Start();

            //IDispatcher uploadMonitor = new UploadXmlDispatcher();
            //uploadMonitor.Start();

            //IPlayService playService = ServiceLocator.Instance.Resolve<IPlayService>();
            //var plays = playService.QueryPlayByPage("302", "0", 1, 10);

            Console.ReadLine();
        }
    }

    
}
